package org.nepu.scr.indexrate.vo.drillingrate.keydevice.improvesystem;

import lombok.Data;
import org.nepu.scr.indexrate.converter.drillingrate.keydevice.improvesystem.CarriageTensionCapacityConverter;
import org.nepu.scr.indexrate.converter.drillingrate.keydevice.improvesystem.DerrickBearingCapacityConverter;
import org.nepu.scr.indexrate.converter.drillingrate.keydevice.improvesystem.NetEmptyHeightConverter;
import org.nepu.scr.indexrate.converter.drillingrate.keydevice.improvesystem.NetEmptyHeightOfBaseConverter;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
public class ImproveDevice {

    //井架承载能力
    @Convert(converter = DerrickBearingCapacityConverter.class)
    @Column(name = "derrick_bearing_capacity")
    DerrickBearingCapacity derrickBearingCapacity;

    //井架净空高度
    @Convert(converter = NetEmptyHeightConverter.class)
    @Column(name = "net_empty_height")
    NetEmptyHeight netEmptyHeight;

    //底座净空高度
    @Convert(converter = NetEmptyHeightOfBaseConverter.class)
    @Column(name = "net_empty_height_of_base")
    NetEmptyHeightOfBase netEmptyHeightOfBase;

    //绞车提升能力
    @Convert(converter = CarriageTensionCapacityConverter.class)
    @Column(name = "carriage_tension_capacity")
    CarriageTensionCapacity carriageTensionCapacity;
}
